//
//  TZDetailEdtiorCell.m
//  XMLYFM
//
//  Created by dllo on 15/12/24.
//  Copyright © 2015年 zzl. All rights reserved.
//

#import "TZDetailEdtiorCell.h"
#import <Masonry.h>
@implementation TZDetailEdtiorCell

-(instancetype)initWithFrame:(CGRect)frame
{

    if (self = [super initWithFrame:frame]) {
        [self createCell];
    }

    return self;
}

-(void)createCell
{

    self.BigTitle = [[UILabel alloc]init];
    self.BigTitle.backgroundColor = [UIColor yellowColor];
    self.BigTitle.numberOfLines = 0;
    [self.contentView addSubview:self.BigTitle];
    
    [self.BigTitle mas_makeConstraints:^(MASConstraintMaker *make) {
        
        make.left.equalTo(self.contentView.mas_left).offset(3);
        make.top.equalTo(self.contentView.mas_top).offset(3);
        make.size.mas_equalTo(CGSizeMake(TZWIDTH - 6, 35));
        
    }];
    
    
                     
                  
                     
//                     
//                     initWithFrame:CGRectMake(self.contentView.bounds.origin.x + 15, self.contentView.bounds.origin.y + 10, 50, 50) ];
//    self.trackPic.backgroundColor = [UIColor whiteColor];
//    self.trackPic.layer.masksToBounds = YES;
//    self.trackPic.layer.cornerRadius = 25;
//    [self.contentView addSubview:self.trackPic];
    
    
   


}

-(void)setEdtailModel:(TZEditorDetailModel *)edtailModel
{
    self.BigTitle.text = edtailModel.title;





}

@end
